5.7
MEDIUM CVSS 4.0
CVE-2025-2598
AWS CDK CLI AWS Credentials Information Disclosure
Description

When the AWS Cloud Development Kit (AWS CDK) Command Line Interface (AWS CDK CLI) is used with a credential plugin which returns an expiration property with the retrieved AWS credentials, the credentials are printed to the console output. To mitigate this issue, users should upgrade to version 2.178.2 or later and ensure any forked or derivative code is patched to incorporate the new fixes.

INFO

Published Date :

March 21, 2025, 3:15 p.m.

Last Modified :

March 21, 2025, 5:15 p.m.

Remotely Exploit :

No

Source :

ff89ba41-3aa1-4d27-914a-91399e9639e5
Affected Products

The following products are affected by CVE-2025-2598 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM ff89ba41-3aa1-4d27-914a-91399e9639e5
CVSS 4.0 MEDIUM ff89ba41-3aa1-4d27-914a-91399e9639e5
Solution
Upgrade AWS CDK CLI to version 2.178.2 or later for a permanent fix.
  • Upgrade AWS CDK CLI to version 2.178.2 or later.
  • Ensure custom code is patched to include fixes.
Public PoC/Exploit Available at Github

CVE-2025-2598 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-2598.

URL Resource
https://aws.amazon.com/security/security-bulletins/AWS-2025-005/
https://github.com/aws/aws-cdk/security/advisories/GHSA-v63m-x9r9-8gqp
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-2598 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-2598 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Python Shell

Updated: 2 months ago
0 stars 0 fork 0 watcher
Born at : June 24, 2025, 9 p.m. This repo has been linked 6 different CVEs too.

None

Shell Python HTML

Updated: 1 month, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : June 23, 2025, 9:08 p.m. This repo has been linked 6 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-2598 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-2598 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by ff89ba41-3aa1-4d27-914a-91399e9639e5

    Mar. 21, 2025

    Action Type Old Value New Value
    Added Reference https://github.com/aws/aws-cdk/security/advisories/GHSA-v63m-x9r9-8gqp
  • New CVE Received by ff89ba41-3aa1-4d27-914a-91399e9639e5

    Mar. 21, 2025

    Action Type Old Value New Value
    Added Description When the AWS Cloud Development Kit (AWS CDK) Command Line Interface (AWS CDK CLI) is used with a credential plugin which returns an expiration property with the retrieved AWS credentials, the credentials are printed to the console output. To mitigate this issue, users should upgrade to version 2.178.2 or later and ensure any forked or derivative code is patched to incorporate the new fixes.
    Added CVSS V4.0 AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
    Added CWE CWE-497
    Added Reference https://aws.amazon.com/security/security-bulletins/AWS-2025-005/
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 5.7
Attack Vector
Attack Complexity
Attack Requirements
Privileges Required
User Interaction
VS Confidentiality
VS Integrity
VS Availability
SS Confidentiality
SS Integrity
SS Availability
Base CVSS Score: 5.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact